<template>
  <div>
    <ul>
      <li v-for="(l, i) in cart" :key="i">{{ l.name }}=={{ l.pice }}元</li>
    </ul>
  </div>
</template>
<script>
export default {
  data() {
    return {
      cart: [
        { name: "奔驰", pice: 255555 },
        { name: "奔驰", pice: 255555 },
        { name: "奔驰", pice: 255555 },
        { name: "奔驰", pice: 255555 },
      ],
    };
  },
};
</script>